package com.dk.service;

import com.dk.pojo.TabCategory;

import java.util.List;

public interface CategoryService {
    List<TabCategory> getInfo();

    int insertInfo(TabCategory category);

    int updateCategory(TabCategory category);

    TabCategory getInfoById(Integer id);

    int deleteCategoryById(Integer id);

    boolean updateUpCategory(Integer cid);

    boolean updateDownCategory(Integer cid);
}
